<% content_for :css do %>
  <%= stylesheet_link_tag 'valleyer/file/fileBase' %>
  <% #添加日志 %>
  <%= stylesheet_link_tag 'valleyer/file/addLog' %>
  <% #相册 %>
  <%= stylesheet_link_tag 'valleyer/file/fileAlbum' %>
  <%= javascript_include_tag  'fckeditor/fckeditor' %>
<% end %>
<div class="title">
  <!--<div class="picture">
    <%#= valleyer_logo_image_tag @valleyer, {:width => 60, :height => 60} %>
  </div>
  <div class="name"><%#= @valleyer.nick_name %></div>-->
  <div id="sstab">
    <div><div class="nav_bar">
        <%= link_to_function "主页",
          "buttonHighOrLow('home_tag')",
          :id => "home_tag",
          :class => "button_h" %>
        <%= link_to_function "日志",
          "buttonHighOrLow('log')",
          :id => "log",
          :class => "button_l" %>
        <%= link_to_function "转载",
          "buttonHighOrLow('reship')",
          :id => "reship",
          :class => "button_l" %>
        <%= link_to_function "相册",
          "buttonHighOrLow('album')",
          :id => "album",
          :class => "button_l" %>
      </div></div>
  </div>
</div>
<div id="home_tag_mainstay" class="navlet"  style="display:inline">
  <%= render :file => "documents/show/_home.html" %>
</div>
<div id="log_mainstay" class="navlet"  style="display:none">
  <%= render :file => "documents/show/_log.html" %>
</div>
<div id="reship_mainstay" class="navlet"  style="display:none">
  <%= render :file => "documents/show/_reship.html" %>
</div>
<div id="album_mainstay" class="navlet"  style="display:none">
  <%= render :file => "documents/show/_album.html" %>
</div>
<script type="text/javascript">
  <% if params[:cmd] == "logs_index" %>
    buttonHighOrLow("log");
  <% end %>

  <% if params[:cmd] == "reships_index" %>
    buttonHighOrLow("reship");
  <% end %>

  <% if params[:cmd] == "albums_index" %>
    buttonHighOrLow("album");
  <% end %>
</script>